package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 字段角色对象 sys_role_field
 * 
 * @author ruoyi
 * @date 2023-03-13
 */
public class SysRoleField extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 字段id */
    private Long fieldId;

    /** 权限id */
    @Excel(name = "权限id")
    private Long roleId;

    public void setFieldId(Long fieldId) 
    {
        this.fieldId = fieldId;
    }

    public Long getFieldId() 
    {
        return fieldId;
    }
    public void setRoleId(Long roleId) 
    {
        this.roleId = roleId;
    }

    public Long getRoleId() 
    {
        return roleId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("fieldId", getFieldId())
            .append("roleId", getRoleId())
            .toString();
    }
}
